package com.lzy.product.dtos.order;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * Description:订单父类 Create by lc Date:Apr 15, 2017 Time:1:05:37 PM
 */

public class BaseOrderDTO implements Serializable {
	private static final long serialVersionUID = -9080826766139129795L;
	/** 订单编号 */
	private Long orderId;
	/** 订单总价格:计算之后所需要付款的金额 */
	private BigDecimal orderAmount;
	/** 商品总价：优惠之后的（商品领域这块，包含和商品有关优惠券：比如 2件打五折，房车使用券） */
	private BigDecimal itemAmount;
	/** 商家 */
	private Long shopId;
	/** 店铺ID */
	private Long storeId;
	/** 商家名称 */
	private String shopName;
	/** 订单类型 1:房车销售2:房车租赁3:露营地4:户外装备5:路线 */
	private Integer type;
	private Integer minStatus;
	/** 用户ID */
	private Long userId;
	/** 支付来源：线上，线下 */
	private Integer online;
	/** 订单来源0：移动端 1：pc 2：第三方平台 10：免费版微信小程序 11：收费版微信小程序 */
	private Integer orderWay;
	/** 订单来源终端标识，目前为shop_id */
	private String orderWayId;
	private List<?> customerObject;

	private Date completeTime;
	private UserDTO userDTO;

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public BigDecimal getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(BigDecimal orderAmount) {
		this.orderAmount = orderAmount;
	}

	public BigDecimal getItemAmount() {
		return itemAmount;
	}

	public void setItemAmount(BigDecimal itemAmount) {
		this.itemAmount = itemAmount;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getOnline() {
		return online;
	}

	public void setOnline(Integer online) {
		this.online = online;
	}

	public Integer getOrderWay() {
		return orderWay;
	}

	public void setOrderWay(Integer orderWay) {
		this.orderWay = orderWay;
	}

	public List<?> getCustomerObject() {
		return customerObject;
	}

	public void setCustomerObject(List<?> customerObject) {
		this.customerObject = customerObject;
	}

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}

	public UserDTO getUserDTO() {
		return userDTO;
	}

	public void setUserDTO(UserDTO userDTO) {
		this.userDTO = userDTO;
	}

	public Integer getMinStatus() {
		return minStatus;
	}

	public void setMinStatus(Integer minStatus) {
		this.minStatus = minStatus;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getStoreId() {
		return storeId;
	}

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public String getOrderWayId() {
		return orderWayId;
	}

	public void setOrderWayId(String orderWayId) {
		this.orderWayId = orderWayId;
	}
}
